package com.maserb.monitor.dataCenter.handler;

import com.maserb.monitor.dataCenter.model.HistoryEigenRequest;
import com.maserb.monitor.dataCenter.model.HistoryEigenResponseResult;
import com.maserb.monitor.repository.EigenValueRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class HistoryEigenValueRepositoryHandler {
    @Autowired
    private EigenValueRepository eigenValueRepository;

    public HistoryEigenResponseResult getHistoryData(HistoryEigenRequest request) throws Exception {
        return eigenValueRepository.getHistoryData(request);
    }
}
